package com.ruoyi.project.system.shSerApp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 序列应用统计对象 sh_ser_app
 * 
 * @author ruoyi
 * @date 2021-05-28
 */
public class ShSerApp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    private String serialNum;

    /** 应用名称 */
    @Excel(name = "应用名称")
    private String name;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 是否默认订阅 */
    @Excel(name = "是否默认订阅")
    private String subscribe;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 点击数 */
    @Excel(name = "点击数")
    private Long count;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSerialNum(String serialNum)
    {
        this.serialNum = serialNum;
    }

    public String getSerialNum()
    {
        return serialNum;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setAddtime(Date addtime)
    {
        this.addtime = addtime;
    }

    public Date getAddtime()
    {
        return addtime;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setSubscribe(String subscribe)
    {
        this.subscribe = subscribe;
    }

    public String getSubscribe()
    {
        return subscribe;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setCount(Long count)
    {
        this.count = count;
    }

    public Long getCount()
    {
        return count;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serialNum", getSerialNum())
            .append("name", getName())
            .append("addtime", getAddtime())
            .append("type", getType())
            .append("subscribe", getSubscribe())
            .append("status", getStatus())
            .append("count", getCount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
